import { handleDataStr } from '@/util/index'

const nameStr = `
receiptNumber
lineNumber
detailsubUcode
detailAmount
isWrittenoff
description
createBy
createDate
modifyBy
modifyDate
`

const chineseNameStr = `
收款单号
行号
收款科目编码
金额
用于核销
描述
创建人 
创建时间 
更新人 
更新时间 
`

export default handleDataStr(nameStr,chineseNameStr)

// const tableConfig = [
//   { "name": "receiptNumber", "chineseName": "收款单号", "lang": "erp.financial.receiptNumber" },

//   { "name": "lineNumber", "chineseName": "行号", "lang": "erp.financial.lineNumber" },

//   { "name": "detailsubUcode", "chineseName": "收款科目编码", "lang": "erp.financial.detailsubUcode" },

//   { "name": "detailAmount", "chineseName": "金额", "lang": "erp.financial.detailAmount" },

//   { "name": "isWrittenoff", "chineseName": "用于核销", "lang": "erp.financial.isWrittenoff" },

//   { "name": "description", "chineseName": "描述", "lang": "erp.financial.description" },

//   { "name": "createBy", "chineseName": "创建人 ", "lang": "erp.financial.createBy" },

//   { "name": "createDate", "chineseName": "创建时间 ", "lang": "erp.financial.createDate" },

//   { "name": "modifyBy", "chineseName": "更新人 ", "lang": "erp.financial.modifyBy" },

//   { "name": "modifyDate", "chineseName": "更新时间", "lang": "erp.financial.modifyDate" },
// ]
// const formConfig = [
//     { "name": "receiptNumber", "chineseName": "收款单号", "lang": "erp.financial.receiptNumber" },

//     { "name": "detailsubUcode", "chineseName": "收款科目编码", "lang": "erp.financial.detailsubUcode" },

//     { "name": "detailAmount", "chineseName": "金额", "lang": "erp.financial.detailAmount" },

//     { "name": "isWrittenoff", "chineseName": "用于核销", "lang": "erp.financial.isWrittenoff" },

//     { "name": "description", "chineseName": "描述", "lang": "erp.financial.description",span:24 },
// ]